package com.zn.service.impl;

import com.zn.entity.AgencyBusiness;
import com.zn.mapper.AgencyBusinessMapper;
import com.zn.service.AgencyBusinessService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by yinji on 2018/7/9.
 */
@Service
public class AgencyBusinessServiceImpl implements AgencyBusinessService {
    @Autowired
    private AgencyBusinessMapper agencyBusinessMapper;

    @Override
    public AgencyBusiness businessInviteCodeIsExist(Integer businessInviteCode) {
        return agencyBusinessMapper.selectByBusinessInviteCode(businessInviteCode);
    }
}
